Welcome <?php echo $this->username ?>,<br>    This is your home page<br>

<a href="<?php echo $this->url(array('controller' => 'auth', 'action' => 'logout')) ?>">
    click here to logout</a>